<!-- include tpl=head -->
<script type="text/javascript">
$(document).ready(function(){
	$('#sendsmssubmit').submit(function(){
		$("#submit2").attr('disabled',true);
		$(this).ajaxSubmit({
			'type':'post',
			'dataType':'json',
			'url':get_url('gateway','extmanage','update=1&type=ajax&id={$rs.id}&manageid=send'),
			'success':function(rs){
				if(rs.status){
					$.dialog.alert('短信发送成功',function(){$.phpok.reload()},'succeed');
				}else{
					$("#submit2").attr('disabled',false);
					$.dialog.alert(rs.info);
				}
			}
		});
		return false;
	});
});
</script>
<form method="post" id="sendsmssubmit">
<div class="table">
	<div class="title">
		手机号：
		<span class="note">提交接收人的手机号，仅支持一个手机号</span></span>
	</div>
	<div class="content">
		<input type="text" name="mobile" class="long" />
	</div>
</div>
<div class="table">
	<div class="title">
		验证码：
		<span class="note">请填写要发送的验证码</span></span>
	</div>
	<div class="content">
		<input type="text" name="code" class="long" />
	</div>
</div>

<div class="table">
	<div class="content">
		<br />
		<input type="submit" value="发短信" class="submit2" id="submit2" />
	</div>
</div>
</form>


<!-- include tpl=foot_open -->